{include file="head.html"}
<div id="maincontent">
  <div class="wrap">
    <div class="crumbs"> <a href="__APP__/index/home">{lang='系统设置'}</a> <a href="#">{lang='语言管理'}</a> </div>
    <hr />
    <div class="admin_main_function"> <a href="javascript:void(0)" onclick="open_window('__URL__/add','{lang='添加语言'}');" >{lang='添加语言'}</a> </div>
    <table class="list_table table_style">
      <thead>
        <tr>
          <th width="10%"><div align="center">ID</div></th>
          <th width="30%"><div align="center">{lang='语言名称'}</div></th>
          <th width="30%"><div align="center">{lang='语言标识'}</div></th>
          <th width="30%"><div align="center">{lang='管理操作'}</div></th>
        </tr>
      </thead>
      <?php if (is_array($list)) foreach ($list as $vo) { ?>
      <tr id="del_{$vo['id']}">
        <td align="center">{$vo['id']}</td>
        <td align="center">{$vo['name']}</td>
        <td align="center">{$vo['lang']}</td>
        <td align="center"><a href="javascript:void(0)" onclick="open_window('__URL__/edit-{$vo['id']}','{lang='修改语言'}');">{lang='修改'}</a> | <a onclick="del('__URL__/del-{$vo['id']}','{lang='确认要删除该语言吗？'}','{lang='操作提示'}',this)" href="javascript:void(0)">{lang='删除'}</a></td>
      </tr>
      <?php } ?>
    </table>
    <div class="page"> {$page} </div>
  </div>
</div>
</body></html>